package com.aggregate.pay.weixin.support.client;

import com.aggregate.pay.weixin.bean.MicropayData;
import com.aggregate.pay.weixin.bean.MicropayResult;
import com.aggregate.pay.weixin.support.AbstractClient;
import com.aggregate.pay.weixin.support.Factory;
import com.aggregate.pay.weixin.support.Merch;

/**
 * 微信支付官方接口-提交付款码支付
 * @author Moyq5
 * @date 2019年11月25日
 */
public class Micropay extends AbstractClient<MicropayData, MicropayResult> {

	public Micropay(Merch merch) {
		super(merch);
	}

	@Override
	protected Class<MicropayResult> getResultClass() {
		return MicropayResult.class;
	}

	@Override
	protected String getApiPath() {
		return Factory.getConfig().serverPath() + "/pay/micropay";
	}

}
